﻿using System;

namespace unTroublemaker
{
    public delegate void StatusChangedEventHandler(ISpecificationItem sender, StatusChangedEventArgs args);

    public class StatusChangedEventArgs : EventArgs
    {
        public RunStatus NewRunStatus { get; private set; }
        public RunStatus OldRunStatus { get; private set; }

        public StatusChangedEventArgs(RunStatus newRunStatus, RunStatus oldRunStatus)
        {
            NewRunStatus = newRunStatus;
            OldRunStatus = oldRunStatus;
        }
    }
}